-- @owner: zou_jialiang050
-- @date: 2024/4/2
-- @testpoint: pipelined函数return anything，部分测试点合理报错

--step1:创建管道函数return anything;expect:报错
create or replace type tb_type_0023 as table of tinyint;
create or replace function func_pipelined_0023(count in number)
returns tb_type_0023 pipelined
as $$
declare result integer;
begin
return 1;
end;
$$ language plpgsql;
/

--step2:清理环境;expect:成功
drop type tb_type_0023;
